//package org.example.virtualsensors.controller;
//
//import org.example.virtualsensors.entity.dto.LoginRequest;
//import org.example.virtualsensors.service.SensorRegistrationService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//@RestController
//@RequestMapping("/simulate")
//public class SimulatorController {
//    private final SensorRegistrationService registrationService;
//
//    @Autowired
//    public SimulatorController(SensorRegistrationService registrationService) {
//        this.registrationService = registrationService;
//    }
//
//    @PostMapping("/register-host")
//    public void simulateHostRegistration(@RequestBody LoginRequest.HostRegistrationRequest hostRequest) {
//        registrationService.registerHost(hostRequest);
//    }
//
//    @PostMapping("/register-sensor")
//    public void simulateSensorRegistration(@RequestBody LoginRequest.SensorRegistrationRequest sensorRequest) {
//        registrationService.registerSensor(sensorRequest);
//    }
//}